package com.sc.sc250601.cook.mapper;

import com.sc.sc250601.cook.pojo.UserFollow;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserFollowMapper {
    List<Long> selectFansByAuthorId(@Param("authorId") Long authorId);
    int del(UserFollow uf);

    List<UserFollow> selectAllFollowedId(Long mid);

    int deleteByPrimaryKey(Long id);

    int insert(UserFollow record);

    int insertSelective(UserFollow record);

    UserFollow selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserFollow record);

    int updateByPrimaryKey(UserFollow record);
}